package com.sjsu.aws.configurationMgmt;

import java.util.List;

/**
 * Interface for watcher register service
 * @author Pawar Deepali
 * 
 */
public interface WatcherRegisterService {
	/**
	 * Implementation adds watcher
	 * @param watcher
	 * @throws Exception
	 */
	public void addWatcher(Watcher watcher) throws Exception;
	
	/**
	 * Implementation updates watcher
	 * @param watcher
	 * @throws Exception
	 */
	public void updateWatchFlag(Watcher watcher) throws Exception;
	
	/**
	 * Implementation retrives registered watcher
	 * @return
	 * @throws Exception
	 */
	public List<Watcher> getRegisteredWatcherList() throws Exception;
	
	/**
	 * 
	 * @param watchId
	 * @return
	 * @throws Exception
	 */
	public String getRegisteredWatcher(String watchId) throws Exception;
	
	/**
	 * 
	 * @param watcher
	 * @throws Exception
	 */
	public void removeWatcher(Watcher watcher) throws Exception;
	
}
